# a=int(input())
#
# def f(a):
#     i=0
#     while i<a:
#         b=int(input())
#         i+=1
#     is_prime(b,a)
#
# def is_prime(b,a):
#     i=0
#     while i<a:
#         for c in range(2, b):
#             if (b % c == 0):
#                 print("No")
#                 break
#
#             else:
#                 print("Yes")
#                 break
#         i+=1
# f(2)


a = int(input())
if fun(a):
    print("Yes")
else:
    print("No")

